package cn.stylefeng.guns.sys.modular.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import javax.validation.constraints.NotNull;

//请假信息
@TableName("leave_info")
public class LeaveInfoPO {
    //编号(id)
    @TableId(value="leave_info_id",type = IdType.ID_WORKER)
    private Long leaveInfoId;
    //请假类型
    @TableField("leave_info_type")
    private Integer leaveInfoType;
    //请假事由
    @TableField("leave_info_reason")
    private String leaveInfoReason;
    //开始时间
    @TableField("leave_info_start")
    private String leaveInfoStart;
    //结束时间
    @TableField("leave_info_end")
    private String leaveInfoEnd;
    //附件内容
    @TableField("leave_info_affix")
    private String leaveInfoAffix;
    //请假人ID
    @TableField("leave_user_num")
    @NotNull
    private String leaveUserNum;
    //状态（0-待审批；1-已审批；2-院系领导审批中；3-校级领导审批中；4-已拒绝；5-存档;6-销假）
    @TableField("leave_info_status")
    private Integer leaveInfoStatus;
    //辅导员管理员ID
    @TableField("stair_approval_id")
    @NotNull
    private Long stairApprovalId;
    //院系管理员ID
    @TableField("foxbase_approval_id")
    @NotNull
    private Long foxbaseApprovalId;
    //校级管理员ID
    @TableField("tertiary_approval_id")
    @NotNull
    private Long tertiaryApprovalId;

    public Long getLeaveInfoId() {
        return leaveInfoId;
    }

    public void setLeaveInfoId(Long leaveInfoId) {
        this.leaveInfoId = leaveInfoId;
    }

    public Integer getLeaveInfoType() {
        return leaveInfoType;
    }

    public void setLeaveInfoType(Integer leaveInfoType) {
        this.leaveInfoType = leaveInfoType;
    }

    public String getLeaveInfoReason() {
        return leaveInfoReason;
    }

    public void setLeaveInfoReason(String leaveInfoReason) {
        this.leaveInfoReason = leaveInfoReason;
    }

    public String getLeaveInfoStart() {
        return leaveInfoStart;
    }

    public void setLeaveInfoStart(String leaveInfoStart) {
        this.leaveInfoStart = leaveInfoStart;
    }

    public String getLeaveInfoEnd() {
        return leaveInfoEnd;
    }

    public void setLeaveInfoEnd(String leaveInfoEnd) {
        this.leaveInfoEnd = leaveInfoEnd;
    }

    public String getLeaveInfoAffix() {
        return leaveInfoAffix;
    }

    public void setLeaveInfoAffix(String leaveInfoAffix) {
        this.leaveInfoAffix = leaveInfoAffix;
    }

    public String getLeaveUserNum() {
        return leaveUserNum;
    }

    public void setLeaveUserNum(String leaveUserNum) {
        this.leaveUserNum = leaveUserNum;
    }

    public Integer getLeaveInfoStatus() {
        return leaveInfoStatus;
    }

    public void setLeaveInfoStatus(Integer leaveInfoStatus) {
        this.leaveInfoStatus = leaveInfoStatus;
    }

    public Long getStairApprovalId() {
        return stairApprovalId;
    }

    public void setStairApprovalId(Long stairApprovalId) {
        this.stairApprovalId = stairApprovalId;
    }

    public Long getFoxbaseApprovalId() {
        return foxbaseApprovalId;
    }

    public void setFoxbaseApprovalId(Long foxbaseApprovalId) {
        this.foxbaseApprovalId = foxbaseApprovalId;
    }

    public Long getTertiaryApprovalId() {
        return tertiaryApprovalId;
    }

    public void setTertiaryApprovalId(Long tertiaryApprovalId) {
        this.tertiaryApprovalId = tertiaryApprovalId;
    }
}
